//
// 此文件是由 JavaTM Architecture for XML Binding (JAXB) 引用实现 v2.2.8-b130911.1802 生成的
// 请访问 <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// 在重新编译源模式时, 对此文件的所有修改都将丢失。
// 生成时间: 2019.03.12 时间 12:12:00 PM CST 
//


package com.youhome.service.listhub;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>ParkingType complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="ParkingType">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="HasParking" type="{http://rets.org/xsd/RETSCommons}nullable-boolean" minOccurs="0"/>
 *         &lt;element name="HasGarage" type="{http://rets.org/xsd/RETSCommons}nullable-boolean" minOccurs="0"/>
 *         &lt;element name="ParkingTotal" type="{http://rets.org/xsd/RETSCommons}boundedCardinalInteger" minOccurs="0"/>
 *         &lt;element name="CoveredSpacesTotal" type="{http://rets.org/xsd/RETSCommons}boundedCardinalInteger" minOccurs="0"/>
 *         &lt;element name="OpenSpacesTotal" type="{http://rets.org/xsd/RETSCommons}boundedCardinalInteger" minOccurs="0"/>
 *         &lt;element name="ParkingSpace" type="{http://rets.org/xsd/RETSCommons}ParkingSpaceType" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ParkingType", propOrder = {
    "hasParking",
    "hasGarage",
    "parkingTotal",
    "coveredSpacesTotal",
    "openSpacesTotal",
    "parkingSpace"
})
public class ParkingType {

    @XmlElement(name = "HasParking")
    protected String hasParking;
    @XmlElement(name = "HasGarage")
    protected String hasGarage;
    @XmlElement(name = "ParkingTotal")
    @XmlSchemaType(name = "nonNegativeInteger")
    protected Integer parkingTotal;
    @XmlElement(name = "CoveredSpacesTotal")
    @XmlSchemaType(name = "nonNegativeInteger")
    protected Integer coveredSpacesTotal;
    @XmlElement(name = "OpenSpacesTotal")
    @XmlSchemaType(name = "nonNegativeInteger")
    protected Integer openSpacesTotal;
    @XmlElement(name = "ParkingSpace")
    protected List<ParkingSpaceType> parkingSpace;

    /**
     * 获取hasParking属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getHasParking() {
        return hasParking;
    }

    /**
     * 设置hasParking属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setHasParking(String value) {
        this.hasParking = value;
    }

    /**
     * 获取hasGarage属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getHasGarage() {
        return hasGarage;
    }

    /**
     * 设置hasGarage属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setHasGarage(String value) {
        this.hasGarage = value;
    }

    /**
     * 获取parkingTotal属性的值。
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getParkingTotal() {
        return parkingTotal;
    }

    /**
     * 设置parkingTotal属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setParkingTotal(Integer value) {
        this.parkingTotal = value;
    }

    /**
     * 获取coveredSpacesTotal属性的值。
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getCoveredSpacesTotal() {
        return coveredSpacesTotal;
    }

    /**
     * 设置coveredSpacesTotal属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setCoveredSpacesTotal(Integer value) {
        this.coveredSpacesTotal = value;
    }

    /**
     * 获取openSpacesTotal属性的值。
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getOpenSpacesTotal() {
        return openSpacesTotal;
    }

    /**
     * 设置openSpacesTotal属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setOpenSpacesTotal(Integer value) {
        this.openSpacesTotal = value;
    }

    /**
     * Gets the value of the parkingSpace property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the parkingSpace property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getParkingSpace().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ParkingSpaceType }
     * 
     * 
     */
    public List<ParkingSpaceType> getParkingSpace() {
        if (parkingSpace == null) {
            parkingSpace = new ArrayList<ParkingSpaceType>();
        }
        return this.parkingSpace;
    }

}
